<!DOCTYPE html>
<html lang='zh-CN'>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>

    </style>
</head>

<body>

    <script>
        // 调用栈 函数执行的时候会压入调用栈，当执行完成后出栈
        // 栈数据结构 先进后出 后进先出
        function a() {
            console.log('a')
            b()
        }
        function b() {
            console.log('b')
            c()
        }
        function c() {
            console.log('c')
        }
        a()
    </script>
</body>

</html>